$(document).ready(function() {
	$(".leftNav").on("mouseenter", ".leftNav ul li", function() {
		jq(this).find(".fj").addClass("nuw");
		jq(this).find(".zj").show();
		var params = this.id;
		$.ajax({
			"url" : "servlet/CommodityCategory",
			"type" : "post",
			"data" : "parentId=" + params,
			"dataType" : "JSON",
			"success" : category
		});
		function category(data) {
			var $zjlc = $(".zj_l_c").empty();
			var secondCategory = data.secondJSON
			// var threatCategory = data.threatJSON
			for (var i = 0; i < secondCategory.length; i++) {
				$se = $zjlc.append("<h2>" + secondCategory[i].name + "</h2>")
				// for (var a = 0; a < threatJSON.length; a++) {
				// $se.append("<a href=\"#\">" + threatJSON[a].name + "</a>|")
				// }
			}

		}
	});
});